package Web;

import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Logger;


public class Tesdf {


    public static void main(String[] args) {
        //加载初始化配置
        //log4j日志测试
//        BasicConfigurator.configure();
        Logger logger = Logger.getLogger(Tesdf.class);
        for (int i=0;i<1000;i++) {
            logger.fatal("Fatal Message!");
            logger.error("Error Message!");
            logger.warn("Warn Message!");
            logger.info("Info Message!");
            logger.debug("Debug Message!");
            logger.trace("Trace Message!");
        }
    }

}

